import "@babel/polyfill";
import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from "react-redux";
import store from "store";
import 'libs/flexible'
import './index.scss';
import App from './routes';
import { isWechat } from 'libs/tools';
import wxjssdk from 'libs/wxjssdk';

if(isWechat()){
	wxjssdk.init();
}

ReactDOM.render((
	<Provider store={store}>
		<App />
	</Provider>
), document.getElementById('root'));

